Skip to content

fix: accept Flask-Caching 2 cache type names - #1744

Open
toabctl wants to merge 1 commit into
pinterest:masterfrom
toabctl:flask-caching-2
Open

toabctl wants to merge 1 commit into
pinterest:masterfrom
toabctl:flask-caching-2

Conversation

@toabctl

@toabctl toabctl commented Nov 10, 2026

Copy link
Copy Markdown

Flask-Caching 2 dropped the lowercase CACHE_TYPE aliases such as simple, which the default config uses. Map them to the backend class names, which 1.x accepts too, and bump Flask-Caching to 2.4.1 (the 1.10.1 pin is affected by GHSA-656c-6cxf-hvcv).

Testing

  • make test passes

Flask-Caching 2 dropped the lowercase CACHE_TYPE aliases like 'simple'
that the default config uses. Map them to the backend class names,
which 1.x accepts too, and upgrade Flask-Caching.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant